<template>
  <div>
    <!-- <router-link to="/">home</router-link>
    <router-link to="/about">about</router-link> -->
    <div class="nav-wrap">
      <div class="nav-left">
        <router-link  class="nav-item nav-item-left" to="/"><div>首页</div></router-link >
        <router-link  class="nav-item nav-item-left" to="/video"><div>视频检测</div></router-link >
        <router-link  class="nav-item nav-item-left" to="/mooncloud"><div>卫星云图</div></router-link >
        <router-link  class="nav-item nav-item-left" to="/audio"><div>声纳检测</div></router-link >
      </div>
      <div class="nav-middle">
        石岛湾
      </div>
      <div class="nav-right">
        <router-link  class="nav-item nav-item-left" to="/pull"><div>拉力监测</div></router-link >
        <router-link  class="nav-item nav-item-left" to="/water"><div>水质生物</div></router-link >
        <div class="nav-item nav-item-right">系统管理</div>
        <div class="nav-item nav-item-right">退出系统</div>
      </div>
    </div>
  </div>
</template>
<script lang='ts' setup>
</script>
<style lang='scss' scoped>
.nav-wrap {
  display: flex;
  justify-content: space-between;
//   align-items: center;
  width: 100%;
  height: 90px;
  padding: 16px 16px 0 16px;
  background-image: url('../assets/images/u1.png');
  background-size: 100% 100%;
  background-position: center center;
  color: #fff;
  .nav-item{
    flex: 1;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    color: #fff;
  }
  .nav-item-right{
    background-image: url('../assets/images/u4.png');
    background-size: 100% 100%;
    background-position: center center;
    margin-right: -14px;
  }
  .nav-item-left{
    background-image: url('../assets/images/u14.png');
    background-size: 100% 100%;
    background-position: center center;
    margin-left: -14px;
  }
  .nav-middle{
    font-size: 30px;
    font-weight: 700;
    color: #00f0ff;
  }
  .nav-left,
  .nav-right {
    display: flex;
    width: 34%;
    justify-content: space-between;
    align-items: center;
  }
  .nav-right{
    width: 35%;
  }
}
</style>
